package com.dream.service;

import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

@Service
public class AppKeyService {
    private static final Map<String, String> appKeys = new HashMap<>();

    static {
        appKeys.put("testAppId", "testAppSecret");
    }

    public String getSecretByAppId(String appId) {
        return appKeys.get(appId);
    }
}